package com.wf.DouDiZhuOL.net.http;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelOutboundHandlerAdapter;
import io.netty.channel.ChannelPromise;

public class HttpOutHandler extends ChannelOutboundHandlerAdapter{
	public HttpOutHandlerImp httpOutHandlerImp;
	
	public HttpOutHandler() 
	{
		super();
		httpOutHandlerImp = new HttpOutHandlerImp();
	}

	@Override
	public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception {
		super.write(ctx, msg, promise);
		httpOutHandlerImp.write(ctx, msg, promise);
	}
}
